package leetcode_1801_1900;

public class LeeCode_1844 {
    public static void main(String[] args) {

    }
    private static String replaceDigits(String s) {
        char[] cs = s.toCharArray();
        int n = cs.length;
        for (int i = 1; i < n; i += 2) {
            cs[i] = (char) (cs[i - 1] + Integer.parseInt(cs[i] + ""));
        }
        return new String(cs);
    }
}
